package com.nwpu.coursesupport.service.param;

import java.util.Date;

import com.nwpu.coursesupport.criteria.StudentSearchCriteria;
import com.nwpu.coursesupport.entity.Student;

/**
 * 
 * @author archerkang
 *
 */
public class StudentServiceParam{
    public static class CreateParam extends Student{
        
    }
    
    public static class UpdateParam extends Student{
        
    }
    
    public static class ChangePassParam{
    	private Integer id;
    	private String studentCode;
    	private String oldPassword;
    	private String reNewPassword;
    	private String newPassword;
    	private Date updateDate;
    	
		public Integer getId() {
			return id;
		}
		public void setId(Integer id) {
			this.id = id;
		}
		public String getStudentCode() {
			return studentCode;
		}
		public void setStudentCode(String studentCode) {
			this.studentCode = studentCode;
		}
		public String getNewPassword() {
			return newPassword;
		}
		public void setNewPassword(String newPassword) {
			this.newPassword = newPassword;
		}
		public Date getUpdateDate() {
			return updateDate;
		}
		public void setUpdateDate(Date updateDate) {
			this.updateDate = updateDate;
		}
		public String getOldPassword() {
			return oldPassword;
		}
		public void setOldPassword(String oldPassword) {
			this.oldPassword = oldPassword;
		}
		public String getReNewPassword() {
			return reNewPassword;
		}
		public void setReNewPassword(String reNewPassword) {
			this.reNewPassword = reNewPassword;
		}
		
		
    }
    
    public static class SearchParam{
        private StudentSearchCriteria search;
        private int pageNo;
        private String keyword;
        public StudentSearchCriteria getSearch() {
            return search;
        }
        public void setSearch(StudentSearchCriteria search) {
            this.search = search;
        }
        public int getPageNo() {
            return pageNo;
        }
        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }
        public String getKeyword() {
            return keyword;
        }
        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }
    }
}
